#ifndef MYSQLDBMANAGER_H
#define MYSQLDBMANAGER_H

#include <QObject>

namespace Jcr
{
class MySqlDbManagerPrivate;
class MySqlDbManager : public QObject
{
    Q_OBJECT
public:
    static MySqlDbManager* instance();

    bool connect(const QString& server, const QString& user, const QString& password);

private:
    explicit MySqlDbManager(QObject *parent = 0);
    ~MySqlDbManager();
    MySqlDbManagerPrivate* d_ptr;
    Q_DISABLE_COPY(MySqlDbManager)
};

} // namespace jcr
#endif // MYSQLDBMANAGER_H
